What is the maximum length of a C# string [closed]

Posted by Ahmet Altun on Stack Overflow See other posts from Stack Overflow or by Ahmet Altun
Published on 2010-04-04T20:11:36Z Indexed on 2010/04/04 20:23 UTC
Read the original article Hit count: 463

Filed under:
|

Possible Duplicate:
What is the maximum possible length of a .NET string?

How long a C# string can be in maximum? Is there any limitation? Considering if MSN was written in C#, the instant messaging would be designed as Textbox. So, the content would be Textbox.text, which is a string. But can System.string can store such a long value. I assume, string class holds value contiguously.

© Stack Overflow or respective owner

Related posts about string

Related posts about c#